home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / octa209s.zip / octave-2.09 / doc / liboctave / quad.tex < prev    next >
Text File  |  1997-08-13  |  4KB  |  124 lines

  1. @node Quadrature, Ordinary Differential Equations, Optimization, Top
  2. @chapter Quadrature
  3. @cindex quadrature
  4. @cindex numerical integration
  5. @cindex integration
  6.  
  7. @deftypefn  {} {}Quad (integrand_fcn @var{fcn})
  8. @deftypefnx  {} {}Quad (integrand_fcn @var{fcn}, double @var{abs}, double @var{rel})
  9. @end deftypefn
  10.  
  11. @deftypefn {} {virtual double} integrate (void)
  12. @deftypefnx {} {virtual double} integrate (int &@var{ier})
  13. @deftypefnx {} {virtual double} integrate (int &@var{ier}, int &@var{neval})
  14. @deftypefnx {} {virtual double} integrate (int &@var{ier}, int &@var{neval}, double &@var{abserr}) = 0
  15. @end deftypefn
  16.  
  17. @deftypefn {} Quad_options (void)
  18. @deftypefnx {} Quad_options (const Quad_options &@var{opt})
  19. @end deftypefn
  20.  
  21. @deftypefn {} Quad_options& {operator =} (const Quad_options &@var{opt})
  22. @end deftypefn
  23.  
  24. @deftypefn {} void init (void)
  25. @end deftypefn
  26.  
  27. @deftypefn {} void copy (const Quad_options &@var{opt})
  28. @end deftypefn
  29.  
  30. @deftypefn {} void set_default_options (void)
  31. @end deftypefn
  32.  
  33. @deftypefn {} void set_absolute_tolerance (double @var{val})
  34. @end deftypefn
  35.  
  36. @deftypefn {} void set_relative_tolerance (double @var{val})
  37. @end deftypefn
  38.  
  39. @deftypefn {} double absolute_tolerance (void)
  40. @deftypefnx {} double relative_tolerance (void)
  41. @end deftypefn
  42.  
  43. @deftypefn  {} {}DefQuad (integrand_fcn @var{fcn})
  44. @deftypefnx  {} {}DefQuad (integrand_fcn @var{fcn}, double @var{ll}, double @var{ul})
  45. @deftypefnx  {} {}DefQuad (integrand_fcn @var{fcn}, double @var{ll}, double @var{ul}, double @var{abs}, double @var{rel})
  46. @deftypefnx  {} {}DefQuad (integrand_fcn @var{fcn}, double @var{ll}, double @var{ul}, const ColumnVector &@var{sing})
  47. @deftypefnx  {} {}DefQuad (integrand_fcn @var{fcn}, const ColumnVector &@var{sing}, double @var{abs}, double @var{rel})
  48. @deftypefnx  {} {}DefQuad (integrand_fcn @var{fcn}, const ColumnVector &@var{sing})
  49. @deftypefnx  {} {}DefQuad (integrand_fcn @var{fcn}, double @var{ll}, double @var{ul}, const ColumnVector &@var{sing}, double @var{abs}, double @var{rel})
  50. @end deftypefn
  51.  
  52. @deftypefn  {} {}IndefQuad (integrand_fcn @var{fcn})
  53. @deftypefnx  {} {}IndefQuad (integrand_fcn @var{fcn}, double @var{b}, IntegralType @var{t})
  54. @deftypefnx  {} {}IndefQuad (integrand_fcn @var{fcn}, double @var{b}, IntegralType @var{t}, double @var{abs}, double @var{rel})
  55. @deftypefnx  {} {}IndefQuad (integrand_fcn @var{fcn}, double @var{abs}, double @var{rel})
  56. @end deftypefn
  57.  
  58. @menu
  59. * Collocation Weights::         
  60. @end menu
  61.  
  62. @node Collocation Weights,  , Quadrature, Quadrature
  63. @section Collocation Weights
  64. @cindex orthogonal collocation
  65. @cindex collocation weights
  66.  
  67. @deftypefn  {} {}CollocWt (void)
  68. @deftypefnx  {} {}CollocWt (int @var{n}, int @var{inc_l}, int @var{inc_r})
  69. @deftypefnx  {} {}CollocWt (int @var{n}, int @var{inc_l}, int @var{inc_r}, double @var{l}, double @var{r})
  70. @deftypefnx  {} {}CollocWt (int @var{n}, double @var{a}, double @var{b}, int @var{inc_l}, int @var{inc_r})
  71. @deftypefnx  {} {}CollocWt (int @var{n}, int @var{inc_l}, int @var{inc_r}, double @var{l}, double @var{r})
  72. @deftypefnx  {} {}CollocWt (const CollocWt&)
  73. @end deftypefn
  74.  
  75. @deftypefn {} CollocWt& {operator =} (const CollocWt&)
  76. @end deftypefn
  77.  
  78. @deftypefn {} CollocWt& resize (int @var{ncol})
  79. @end deftypefn
  80.  
  81. @deftypefn {} CollocWt& add_left (void)
  82. @deftypefnx {} CollocWt& add_right (void)
  83. @end deftypefn
  84.  
  85. @deftypefn {} CollocWt& delete_left (void)
  86. @deftypefnx {} CollocWt& delete_right (void)
  87. @end deftypefn
  88.  
  89. @deftypefn {} CollocWt& set_left (double @var{val})
  90. @deftypefnx {} CollocWt& set_right (double @var{val})
  91. @end deftypefn
  92.  
  93. @deftypefn {} CollocWt& set_alpha (double @var{val})
  94. @deftypefnx {} CollocWt& set_beta (double @var{val})
  95. @end deftypefn
  96.  
  97. @deftypefn {} int ncol (void) const
  98. @end deftypefn
  99.  
  100. @deftypefn {} int left_included (void) const
  101. @deftypefnx {} int right_included (void) const
  102. @end deftypefn
  103.  
  104. @deftypefn {} double left (void) const
  105. @deftypefnx {} double right (void) const
  106. @deftypefnx {} double width (void) const
  107. @end deftypefn
  108.  
  109. @deftypefn {} double alpha (void) const
  110. @deftypefnx {} double beta (void) const
  111. @end deftypefn
  112.  
  113. @deftypefn {} ColumnVector roots (void)
  114. @deftypefnx {} ColumnVector quad (void)
  115. @deftypefnx {} ColumnVector quad_weights (void)
  116. @end deftypefn
  117.  
  118. @deftypefn {} Matrix first (void)
  119. @deftypefnx {} Matrix second (void)
  120. @end deftypefn
  121.  
  122. @deftypefn {} {ostream&} {operator <<} (ostream &@var{os}, const CollocWt &@var{c})
  123. @end deftypefn
  124.